package fiuba.model;

import fiuba.model.BaseObject;

import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.Column;

@Entity
public class PalabraClave extends BaseObject {
	private Long id;
	private String Palabra;
	
	

	/**
	 * 
	 */
	private static final long serialVersionUID = -342474296189622307L;

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}


	@Id @GeneratedValue(strategy = GenerationType.AUTO) 
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="palabra", length=20, nullable=false,unique=true)
	public String getPalabra() {
		return Palabra;
	}

	public void setPalabra(String palabra) {
		Palabra = palabra;
	}

}
